<?php


namespace app\common\helper\util;


class Crypt
{
    static function pwd($key){
        return md5(base64_encode($key));
    }
    static function desEn($key){
        return base64_encode($key);
    }
    static function desDn($key){
        return base64_decode($key);
    }
}